﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Admin_MasterPage.master" AutoEventWireup="true" CodeFile="ThemLoaiSanPham.aspx.cs" Inherits="Admin_ThemLoaiSanPham" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div id="allthemloaisanpham">
       <span class="TieuDe">Thêm loại sản phẩm</span>
            <table border="1" id="table_name" visible="false" cellspacing="0" >
                    <tr>
                        <td style="font-size:16px; color:#8B4513; padding-left:200px; width:200px;">Tên loại sản phẩm:</td>
                        <td style="width:200px;">
                            <asp:TextBox ID="txt_tenloaisanpham" runat="server" Width="200px"></asp:TextBox>
                        </td>

                        <td style="color:Red;"><asp:RequiredFieldValidator
                ID="RequiredFieldValidator1" runat="server" ErrorMessage="Không được bỏ trống" ControlToValidate="txt_tenloaisanpham"></asp:RequiredFieldValidator></td>
                    </tr>
                    <!-- End tr TenLoaiSanPham-->

                    <tr>
                        <td align="center" style="text-align:center; color:Red;" colspan="3"><asp:Label ID="lb_msg" runat="server"></asp:Label></td>
                    </tr>
                    
                    <tr>
                        <td style="text-align:center; margin-bottom:50px;" colspan="3">
                            <asp:Button CssClass="button" ID="bt_them" runat="server" Text="Thêm loại sản phẩm" Height="25px" Width="135px"
                                onclick="bt_them_Click"  />
                                <asp:HyperLink CssClass="button" ID="btn_TroVe" NavigateUrl="~/Admin/DanhSachLoaiSanPham.aspx" runat="server">Trở về</asp:HyperLink>
                        </td>
                    </tr>
                    <!-- End tr button them san pham-->
                </table>
    </div>
</asp:Content>

